import Layout from '@/layout/index'

export default [
  {
    path: '/customerCenter',
    name: 'customerCenter',
    component: Layout,
    meta: { title: '客户中心', icon: 'menu-csmCenter', menuId: 2, showIndex: 2 },
    children: [
      // {
      //   path: 'phoneOrderDialog/:id',
      //   name: 'phoneOrderDialog',
      //   hidden: true,
      //   component: () => import('@/views/customerCenter/phoneOrder/newIndexDialog.vue'),
      //   meta: { title: '话务下单', menuId: 10201, showIndex: 1 }
      // },
      {
        path: 'customerManage',
        name: 'customerManage',
        component: () => import('@/views/customerCenter/customerManage/index'),
        meta: { title: '客户管理', menuId: 201, showIndex: 1 }
      },
      {
        path: 'depositManage',
        name: 'depositManage',
        component: () => import('@/views/customerCenter/depositManage/index'),
        meta: { title: '押金管理', menuId: 202, showIndex: 2 }
      },
      {
        path: 'oneHouseOneCodeAppeal',
        name: 'oneHouseOneCodeAppeal',
        component: () => import('@/views/customerCenter/oneHouseOneCodeAppeal/index'),
        meta: { title: '一户一码申诉', menuId: 204, showIndex: 3 }
      },
      // {
      //   path: 'rentManage',
      //   name: 'rentManage',
      //   component: () => import('@/views/customerCenter/rentManage/index'),
      //   meta: { title: '欠瓶管理', menuId: 10112, showIndex: 3 }
      // },
      // {
      //   path: 'policyManage',
      //   name: 'policyManage',
      //   component: () => import('@/views/customerCenter/policyManage/index'),
      //   meta: { title: '保单管理', menuId: 10103, showIndex: 4 }
      // },
      {
        path: 'phoneOrder',
        name: 'phoneOrder',
        component: () => import('@/views/customerCenter/phoneOrder/index.vue'),
        meta: { title: '话务下单', menuId: 203, showIndex: 4 }
      },
      {
        path: 'storeOrder',
        name: 'storeOrder',
        component: () => import('@/views/customerCenter/storeOrder/index.vue'),
        meta: { title: '门店下单', menuId: 205, showIndex: 5 }
      },
      {
        path: 'evaluateManage',
        name: 'evaluateManage',
        component: () => import('@/views/customerCenter/evaluateManage/index'),
        meta: { title: '评价查询', menuId: 206, showIndex: 6 }
      },
      // {
      //   path: 'scoreHandle',
      //   name: 'scoreHandle',
      //   component: () => import('@/views/customerCenter/scoreHandle/index'),
      //   meta: { title: '积分异常处理', menuId: 10111, showIndex: 7 }
      // },
      // {
      //   path: 'customerLevelManage',
      //   name: 'customerLevelManage',
      //   component: () => import('@/views/customerCenter/customerLevelManage/index'),
      //   meta: { title: '客户等级管理', menuId: 10115, showIndex: 8 }
      // },
      // {
      //   path: 'distractPlanManage',
      //   name: 'distractPlanManage',
      //   component: () => import('@/views/customerCenter/distractPlanManage/index'),
      //   meta: { title: '配送计划', menuId: 10213, showIndex: 9 }
      // },
      {
        path: 'contractManage',
        name: 'contractManage',
        component: () => import('@/views/customerCenter/contractManage/index'),
        meta: { title: '合同管理', menuId: 10116, showIndex: 10 }
      },
      {
        path: 'lostCsmWarning',
        name: 'lostCsmWarning',
        component: () => import('@/views/customerCenter/lostCsmWarning/index'),
        meta: { title: '流失客户预警', menuId: 40207, showIndex: 11 }
      }
      // {
      //   path: 'scoreHandle',
      //   name: 'scoreHandle',
      //   component: () => import('@/views/customerCenter/scoreHandle/index'),
      //   meta: { title: '积分异常处理', menuId: 10111, showIndex: 7 }
      // },
      // {
      //   path: 'customerLevelManage',
      //   name: 'customerLevelManage',
      //   component: () => import('@/views/customerCenter/customerLevelManage/index'),
      //   meta: { title: '客户等级管理', menuId: 10115, showIndex: 8 }
      // },
      // {
      //   path: 'distractPlanManage',
      //   name: 'distractPlanManage',
      //   component: () => import('@/views/customerCenter/distractPlanManage/index'),
      //   meta: { title: '配送计划', menuId: 10213, showIndex: 9 }
      // },
      // {
      //   path: 'contractManage',
      //   name: 'contractManage',
      //   component: () => import('@/views/customerCenter/contractManage/index'),
      //   meta: { title: '合同管理', menuId: 10116, showIndex: 10 }
      // },
      // {
      //   path: 'lostCsmWarning',
      //   name: 'lostCsmWarning',
      //   component: () => import('@/views/customerCenter/lostCsmWarning/index'),
      //   meta: { title: '流失客户预警', menuId: 40207, showIndex: 11 }
      // }
    ]
  }
]
